package com.cssy.xxkj.logic.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.cssy.xxkj.logic.entity.LogicProductionStorageoutItemDO;

/**
 * 数据访问对象接口
 * @since 2014-10-09
 */
public interface LogicProductionStorageoutItemDAO extends LogicBizDAO<LogicProductionStorageoutItemDO>{

    /**
     * 插入数据
     * @param logicProductionStorageoutItemDO
     * @return 插入数据的主键
     */
    public String insertLogicProductionStorageoutItemDO(LogicProductionStorageoutItemDO logicProductionStorageoutItemDO) throws DataAccessException;

    /**
     * 统计记录数
     * @param logicProductionStorageoutItemDO
     * @return 查出的记录数
     */
    public Integer countLogicProductionStorageoutItemDOByExample(LogicProductionStorageoutItemDO logicProductionStorageoutItemDO) throws DataAccessException;

    /**
     * 更新记录
     * @param logicProductionStorageoutItemDO
     * @return 受影响的行数
     */
    public Integer updateLogicProductionStorageoutItemDO(LogicProductionStorageoutItemDO logicProductionStorageoutItemDO) throws DataAccessException;

    /**
     * 获取对象列表
     * @param logicProductionStorageoutItemDO
     * @return 对象列表
     */
    public List<LogicProductionStorageoutItemDO> findListByExample(LogicProductionStorageoutItemDO logicProductionStorageoutItemDO) throws DataAccessException;

    
    public List<LogicProductionStorageoutItemDO> findListByMap(Map<String, Object> paramMap)throws DataAccessException;
    /**
     * 根据主键获取logicProductionStorageoutItemDO
     * @param id
     * @return logicProductionStorageoutItemDO
     */
    public LogicProductionStorageoutItemDO findLogicProductionStorageoutItemDOByPrimaryKey(String id) throws DataAccessException;

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicProductionStorageoutItemDOByPrimaryKey(String id) throws DataAccessException;
    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteProById(String id) throws DataAccessException;

} 